/**
 * Created by douxin on 23/09/2016.
 */

import React from 'react';
import AreaStatisticMapChart from './AreaStatisticMapChart';

class AreaContainer extends React.Component {

    render() {
        return (
            <div className="col-sm-12 col-md-12 col-lg-12 no-padding">
                <div className="panel panel-grey-blue">
                    <div className="panel-heading">
                        <h3 className="panel-title">地区统计</h3>
                    </div>
                    <div className="panel-body">
                        <AreaStatisticMapChart trades={this.props.data}/>
                    </div>
                </div>
            </div>
        );
    }

}

AreaContainer.propTypes = {
    data: React.PropTypes.array
};

export default AreaContainer;